module.exports = {
  userFormateError: {
    code: "10001",
    message: "用户名或密码为空",
    result: "",
  },
  userAlreadyExited: {
    code: "10002",
    message: "用户已经存在",
    result: "",
  },
  userRegisterError: {
    code: "10003",
    message: "用户注册错误",
    result: "",
  },
  userDoesNotExist: {
    code: "10004",
    message: "用户不存在",
    result: "",
  },
  userLoginError: {
    code: "10005",
    message: "用户登录失败",
    result: "",
  },
  invalidPassword: {
    code: "10006",
    message: "用户密码错误",
    result: "",
  },
  updatePwdFaild: {
    code: "10007",
    message: "修改密码失败",
    result: "",
  },
  euqulToPwd: {
    code: "10008",
    message: "两次密码一致,无需修改!",
    result: "",
  },
  notGetPwd: {
    code: "10009",
    message: "密码为必传字段!",
    result: "",
  },
  tokenExpiredError: {
    code: "10101",
    message: "token已经过期",
    result: "",
  },
  jsonWebTokenError: {
    code: "10102",
    message: "无效的token信息",
    result: "",
  },
  hadNoAdminPermission: {
    code: "10103",
    message: "没有管理员权限",
    result: "",
  },
};
